package com.example.lt.entity.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @Author 小涛Tao
 * @Date: 2024/07/29/9:29
 * version 1.0 注释：登录请求信息封装类
 **/
@Data
public class LoginDTO {

    @Email
    private String email;

    @NotBlank(message = "密码不能为空")
    private String password;

}
